﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SendMessage.ascx.cs" Inherits="Controls_SendMessage" %>
<asp:HiddenField ID="hdnToUserId" runat="server" />
<div  id="errorDiv" runat="server" class="error">Error occured</div>
<table id="maintable" runat="server">
    <tr>
        <td colspan="3" align="left">
            <span class="LargeGreenText">Send Message</span>
        </td>
    </tr>
    <tr class="gridViewNoBorder">
        <td align="right">
            To :
        </td>
        <td colspan="3" align="left">
            <nobr>
             <asp:ImageButton BorderWidth="1" BorderStyle="Solid" ID="imgToUser" runat="server"
                                    Width="30px" Height="30px"  CausesValidation="false" />
                                      <asp:LinkButton ID="lnkToUserName" runat="server" CssClass="BlueText" 
                                    CausesValidation="false"></asp:LinkButton>
            </nobr>
        </td>
    </tr>
    <tr class="gridViewNoBorder">
        <td align="right" valign="top">
            Message :
        </td>
        <td style="width: 100%" valign="bottom">
            <asp:TextBox ID="TextBoxScrap" runat="server" TextMode="MultiLine" CssClass="input"
                Width="100%" Height="50px"></asp:TextBox>
        </td>
        <td valign="bottom" style="width: 10px" align="center">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="TextBoxScrap"
                ValidationGroup="post" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
        </td>
        <td valign="bottom" align="left">
            <asp:Button ID="ButtonSend" CssClass="submitGood" runat="server" ValidationGroup="post"
                Text="Send" OnClick="ButtonSend_Click" CausesValidation="true" Width="50" />
        </td>
    </tr>
</table>
